package src.com.doit.Demo04;

public class mobilePhone extends Phnoe{
    private String Di;

    public String getDi() {
        return Di;
    }

    public void setDi(String di) {
        this.Di = di;
    }
    //    public void call()
//    {
//        System.out.println("智能手机打电话给"+getNum());
//    }

    public mobilePhone() {
    }

    public mobilePhone(String num,String Di) {
        super(num);
        this.Di=Di;
    }

//    public void send()
//    {
//        System.out.println("智能手机发短信给"+getNum());
//    }
    public void show()
    {
        super.show();
        System.out.println("号码归属地"+Di);
        System.out.println("显示头像");
    }

}
